﻿using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using WalkingTec.Mvvm.Core;
using System.Text.Json.Serialization;
using TyMES.Model;
using TyMES.Model.BaseInformation;

namespace TyMES.Model.BaseInformation
{
    [Table("ProduceDataTypeInfo")]
    public class ProduceDataType : BasePoco
    {
        [Display(Name = "产线号")]
        [StringLength(50, ErrorMessage = "Validate.{0}stringmax{1}")]
        public string lineCode {  get; set; }
        [Display(Name = "工位号")]
        [StringLength(50, ErrorMessage = "Validate.{0}stringmax{1}")]
        public string stationCode {  get; set; }
        [Display(Name = "数据类型")]
        [StringLength(1000, ErrorMessage = "Validate.{0}stringmax{1}")]
        public string dataType {  get; set; }
        [Display(Name = "数据名表")]
        [StringLength(1000, ErrorMessage = "Validate.{0}stringmax{1}")]
        public string nameTable {  get; set; }
        [Display(Name = "工单号")]
        [StringLength(50, ErrorMessage = "Validate.{0}stringmax{1}")]
        public string orderCode {  get; set; }
        [Display(Name = "排程号")]
        [StringLength(50, ErrorMessage = "Validate.{0}stringmax{1}")]
        public string scheduleCode {  get; set; }
        [Display(Name = "设备编码")]
        [StringLength(50, ErrorMessage = "Validate.{0}stringmax{1}")]
        public string machineCode {  get; set; }

    }
}
